<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>	
<head>
<title>Login</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<script type="application/x-javascript"> addEventListener("load", function() { setTimeout(hideURLbar, 0); }, false); function hideURLbar(){ window.scrollTo(0,1); } </script>
<meta name="keywords" content="Flat Dark Web Login Form Responsive Templates, Iphone Widget Template, Smartphone login forms,Login form, Widget Template, Responsive Templates, a Ipad 404 Templates, Flat Responsive Templates" />
<link href="<%=application.getContextPath() %>/css/login/style.css" rel='stylesheet' type='text/css' />
<!--webfonts
<link href='http://fonts.useso.com/css?family=PT+Sans:400,700,400italic,700italic|Oswald:400,300,700' rel='stylesheet' type='text/css'>
<link href='http://fonts.useso.com/css?family=Exo+2' rel='stylesheet' type='text/css'>
-->
<!--//webfonts-->
<!-- <script src="http://ajax.useso.com/ajax/libs/jquery/1.11.0/jquery.min.js"></script> -->
</head>
<body>
<%
     Object message = request.getAttribute("success");
     if(message!=null && !"".equals(message)){
 
  %>
      <script type="text/javascript">
          alert("<%=message%>");
      </script>
  <%} %>
<script>$(document).ready(function(c) {
	$('.close').on('click', function(c){
		$('.login-form').fadeOut('slow', function(c){
	  		$('.login-form').remove();
		});
	});	  
});
</script>
 <!--SIGN UP-->
 <h1>Apple User Login</h1>
<div class="login-form">
	<div class="close"> </div>
		<div class="head-info">
			<label class="lbl-1"> </label>
			<label class="lbl-2"> </label>
			<label class="lbl-3"> </label>
		</div>
			<div class="clear"> </div>
	<div class="avtar">
		<img src="<%=application.getContextPath() %>/img/login/avtar.png" />
	</div>
		
			<form action="<%=application.getContextPath() %>/user_login" method="get">
					<input type="text" class="text" name="loginId" value="Username" onfocus="this.value = '';" onblur="if (this.value == '') {this.value = 'Username';}" >
						<div class="key">
					<input type="password" name="loginPsw" value="Password" onfocus="this.value = '';" onblur="if (this.value == '') {this.value = 'Password';}">
						 </div>
						 
						<p style="color: red"><%=request.getAttribute("errMsg")==null?"":request.getAttribute("errMsg") %></p>
						 
						<div class="signin"> 
						<%-- <font color="red" size="3">${errMsg }</font> --%>
		<input type="submit" value="Login" ><h4><a href="<%=application.getContextPath()%>/home/find">忘记密码?</a></h4>
			
		<a href="regist.jsp" style="margin-left: 40px;"><font size="2"><i>没有帐号？点击注册</i></font></a>
		<br>	
	</div>
				
			</form>
			
			
	
</div>
 <div class="copy-rights">
					<p>Copyright &copy; 2015.Company name All rights reserved.More Templates <a href="http://localhost:8080/Apple/home/index" target="_blank" title="苹果之家">苹果之家</a> - Collect from <a href="http://localhost:8080/Apple/home/index" title="网页模板" target="_blank">主页</a></p>
			</div>
	
</body>
</html>